﻿using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class SysFormauditTable : TableInfo
	{
		public const string C_TABLENAME = "Sys_Formaudit"; 

		public const string C_FORMAUDITID = "FORMAUDITID";
		public const string C_MODULEID = "MODULEID";
		public const string C_ISCHECK = "ISCHECK";
		public const string C_CREATEUSERID = "CREATEUSERID";
		public const string C_CREATEUSERNAME = "CREATEUSERNAME";
		public const string C_CREATEDATE = "CREATEDATE";
		public const string C_MODIFYUSERID = "MODIFYUSERID";
		public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";
		public const string C_MODIFYDATE = "MODIFYDATE";
				
		public SysFormauditTable()
		{
			_tableName ="Sys_Formaudit";
		}

		protected static SysFormauditTable _current;

		public static SysFormauditTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new SysFormauditTable();

			_current.Add(C_FORMAUDITID, new ColumnInfo(C_FORMAUDITID, "", true, typeof(String), 50));
			_current.Add(C_MODULEID, new ColumnInfo(C_MODULEID, "", false, typeof(String), 20));
			_current.Add(C_ISCHECK, new ColumnInfo(C_ISCHECK, "", false, typeof(String), 1));
			_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String), 50));
			_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String), 50));
			_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));
			_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String), 50));
			_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String), 50));
			_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));
						
		}

		public ColumnInfo FORMAUDITID
		{
			get { return this[C_FORMAUDITID];}
		}

		public ColumnInfo MODULEID
		{
			get { return this[C_MODULEID];}
		}

		public ColumnInfo ISCHECK
		{
			get { return this[C_ISCHECK];}
		}

		public ColumnInfo CREATEUSERID
		{
			get { return this[C_CREATEUSERID];}
		}

		public ColumnInfo CREATEUSERNAME
		{
			get { return this[C_CREATEUSERNAME];}
		}

		public ColumnInfo CREATEDATE
		{
			get { return this[C_CREATEDATE];}
		}

		public ColumnInfo MODIFYUSERID
		{
			get { return this[C_MODIFYUSERID];}
		}

		public ColumnInfo MODIFYUSERNAME
		{
			get { return this[C_MODIFYUSERNAME];}
		}

		public ColumnInfo MODIFYDATE
		{
			get { return this[C_MODIFYDATE];}
		}

		
	}
}


